package com.cy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 用户课程实体
 * </p>
 *
 * @author Aleven
 * @since 2024-12-21
 */
@Data
@ApiModel(value="Usercourses对象", description="")
public class Usercourses implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户课程唯一标识符")
    @TableId(value = "UserCourseID", type = IdType.AUTO)
    private Integer UserCourseID;

    @ApiModelProperty(value = "关联用户ID")
    @TableField("UserID")
    private Integer UserID;

    @ApiModelProperty(value = "关联课程ID")
    @TableField("CourseID")
    private Integer CourseID;

    @ApiModelProperty(value = "完成状态")
    @TableField("CompletionStatus")
    private String CompletionStatus;


    @ApiModelProperty(value = "课程类型")
    @TableField("Category")
    private String Category ;

    private String Title;
}
